-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make write verification work even without read test #89
Conversation
Context: IOR outputs errors when the '-w -W' flags are used without '-r'. Write a file using with check write option should be possible even without setting read. This patch fixes a condition which was introduced for HDFS to remove RDWR flag in some particular cases. Write check was set with the write only flag but it requieres the read flag.
Can you provide an example input that triggers the bug that this is fixing? I am not getting errors when I naively try to reproduce the issue:
Granted, there's no obvious sign that the write check actually worked. |
ah yeah sorry I should have provided more info (I thought the issue was for all backends). At least for POSIX, the open flag seems to be applied less striclty. With MPIIO (and IME) backends we get this:
But, no error is displayed if the
with this patch:
|
Context: IOR outputs errors when the '-w -W' flags are used
without '-r'. Write a file using with check write option
should be possible even without setting read.
This patch fixes a condition which was introduced for
HDFS to remove RDWR flag in some particular cases.
Write check was set with the write only flag but it
requieres the read flag.